﻿using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Collections.Generic;

[TestClass()]
public class TripleExtensionsTest
{
    [TestMethod()]
    public void AsStringTest()
    {
        IEnumerable<Triple> input = new List<Triple>(){new Triple(1,2,3),new Triple(15,21,43),new Triple(14,22,31)}; // TODO: Initialize to an appropriate value
        string expected = "{1,2,3}{15,21,43}{14,22,31}";
        string actual = input.AsString();
        Assert.AreEqual(expected, actual);
    }
}